{% extends "users/base.html" %}

{% block subtitle %}设置新密码{% endblock %}

{% block main %}
<div class="row">
	<div class="col-lg-4 col-lg-offset-4 col-md-6 col-md-offset-3">
		<div class="box">
			<div class="reset-password-email-access">
				<div class="message-box">
					<ul class="nav nav-tabs nav-justified" role="tablist">
					  	<li role="presentation" class="active"><a>设置新密码</a></li>
					</ul>
					<div class="message">{{ form | alert }}</div>
				</div>
				<form class="auth-form reset-password-email-access-form" method="post">
					{{ form.email | kfield_inline(readonly='readonly') }}
					{{ form.authcode | kfield_inline }}
					{{ form.password | kfield_inline }}
					{{ form.repassword | kfield_inline }}
					<button type="submit" class="btn btn-primary btn-block btn-lg" autocomplete="off">完成</button>
				</form>
			</div>
		</div>
	</div>
</div>
{% endblock %}

{% block footer %}
<div class="text-center links">
	<a href="{{ url_for('users.login') }}">用户登录</a> | 
	<a href="/">首页</a> | 
	<a href="{{ url_for('users.register') }}">注册账号</a>
</div>
{% endblock %}